<%@ Page Language="C#" Trace="false" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="MasterBacklogReport.aspx.cs" Inherits="MasterBacklogReport" Title="Tackle - Master Backlog Report" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentHolder" Runat="Server">
    <strong>Master Backlog Report<br />
    </strong>
    <br />
    <rsweb:ReportViewer ID="rptMasterBacklogReport" runat="server" Font-Names="Verdana"
        Font-Size="8pt" Height="450px" Width="98%">
        <LocalReport ReportPath="MasterBacklogReport.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="odsMasterBacklogReport" Name="DataSet1_MasterBacklogReport" />
                <rsweb:ReportDataSource DataSourceId="odsScrumTeamPrefs" Name="DataSet1_ScrumTeamPrefs" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <br />
    <br />
    <br />
    <asp:CheckBox ID="chbHideCurrentSprintFeatures" runat="server" AutoPostBack="True"
        Font-Names="Verdana" Font-Size="X-Small" OnCheckedChanged="chbHideCurrentSprintFeatures_CheckedChanged"
        Text="Hide Current Sprint Features" ToolTip='Hide the features that have the "Show in MB" flag unchecked.' /><br />
    <asp:ObjectDataSource ID="odsMasterBacklogReport" runat="server" SelectMethod="GetData"
        TypeName="DataSet1TableAdapters.MasterBacklogReportTableAdapter" OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:SessionParameter Name="TimeMult" SessionField="MBTimeMult" Type="Single" />
            <asp:SessionParameter Name="ScrumTeamID" SessionField="ScrumTeamID" Type="Int32" />
            <asp:ControlParameter ControlID="chbHideCurrentSprintFeatures" Name="HideCurrentSprintFeatures"
                PropertyName="Checked" Type="Boolean" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="odsScrumTeamPrefs" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetData" TypeName="DataSet1TableAdapters.ScrumTeamPrefsTableAdapter">
        <SelectParameters>
            <asp:SessionParameter Name="ScrumTeamID" SessionField="ScrumTeamID" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    &nbsp;&nbsp;
</asp:Content>

